{extend name='main'}

{block name="button"}


{/block}

{block name="content"}
<div class="think-box-shadow">

    <table class="layui-table margin-top-10" lay-skin="line">

        <thead>
        <tr>
          <th>编号</th>
          <th>姓名</th>
          <th>联系电话</th>
          <th>报名状态</th>
          <th>备注</th>
          <th>报名时间</th> 
          <th>操作</th>
        </tr>
        </thead>
        {foreach $list as $key=>$vo}
        <tbody>
        <tr >
        <td>{$vo.id}</td>
        <td>{$vo.user.true_name}</td>
        <td>{$vo.user.mobile}</td>
        <td>{$vo.jstatus}</td>
        <td>{$vo.replay}</td>
        <td>{$vo.add_time}</td>
        <td class='text-left nowrap'>
        {if agent_auth("auditApply")}
          {eq name='$vo.status' value='1'}
         <a class="layui-btn layui-btn-sm layui-btn-normal" data-action="{:url('auditApply')}" data-value="id#{$vo.id};status#2;jobid#{$vo.job_id}">审核通过</a>

         <a data-title="审核拒绝" class="layui-btn layui-btn-sm" data-modal='{:url("applyDeny")}?id={$vo.id}&jobid={$vo.job_id}'>审核拒绝</a>
        
        {/eq}
        {/if}
        </td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>

{/block}
